-- GENERATED SPELL FOR [Deathwhisperer] --


function spell0_19299(pUnit, Event) --@Mind Flay,n/a--
pUnit:FullCastSpellOnTarget(32417,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19299', 3000, 1)
end

function Sorts_19299(pUnit, Event)
local choix_sorts_19299 = math.random(0, 0)
if choix_sorts_19299 == 0 then
pUnit:RegisterEvent('spell0_19299', 1, 1)
end
end

function mob19299_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19299', math.random(1500, 3000), 1)
end

function mob19299_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19299_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19299_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19299, 1, 'mob19299_Action')
RegisterUnitEvent(19299, 2, 'mob19299_Leave')
RegisterUnitEvent(19299, 3, 'mob19299_Kill')
RegisterUnitEvent(19299, 4, 'mob19299_Die')
